    package org.fly.dao;


    import org.apache.ibatis.annotations.Param;
    import org.fly.bean.SmsRecord;
    import org.fly.bean.query.SmsRecordQuery;
    import org.springframework.stereotype.Repository;

    import java.util.List;

    /**
    * Created by autoCode on 2018-04-10 15:19:44.
    */
    @Repository
    public interface SmsRecordDao {

    List<SmsRecord> list(SmsRecordQuery query);

    long count(SmsRecordQuery query);

    void  insert(SmsRecord data);

    void update(SmsRecord data);

    SmsRecord findById(String id);

    void delete(String id);

    List<SmsRecord> listByIds(@Param(value = "ids") List<String> ids);


}
